package cn.goktech.sports.modules.importDataone.utils;

import lombok.Data;

import java.math.BigDecimal;

/**
 * 〈一句话功能简述〉<br>
 * 〈〉
 *
 * @author PanY
 * @create 2019/10/23
 * @since 1.0.0
 */
@Data
public class EMSLandRest implements Comparable<EMSLandRest>{
    //运输方式名称
    String transport_name;
    //总运费
    BigDecimal total_freight;
    //参考运费
    BigDecimal consult_freight;
    //燃油费
    BigDecimal fuel_cost;
    //其他费用
    BigDecimal other_cost;
    //货运方式
    String transport_way;
    //参考时效
    String consult_aging;


    @Override
    public int compareTo(EMSLandRest o) {
        return this.getTotal_freight().compareTo(o.getTotal_freight());
    }
}
